<?php
/**
 * Created by PhpStorm.
 * User: N
 * Date: 2019/5/30
 * Time: 13:28
 */

namespace app\index\controller;


use app\index\model\doGoods;
use app\index\model\doUser;
use think\Db;
use think\facade\Request;
use app\index\model\createWord;
class Createwords extends Base
{
    public function index(){
        $info = Db::name("shenqing")->where('id',8)->find();
        // dump($info);
        $content = json_decode($info['content'],true);
        $model = new createWord();
        $res = $model->createword($info,$content);
        dump($content);die;
        
    }
    
    
}














